package com.zzyl.mapper;

import com.zzyl.entity.NursingProjectPlan;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingProjectPlanMapper
 * @Author hu hanSan
 * @Date 2024-09-08
 */
@Mapper
public interface NursingProjectPlanMapper {


    void insertProjectPlan(List<NursingProjectPlan> projectPlans);

    /**
     *
     * @param id
     * @return
     */
    List<NursingProjectPlan> selectByPlanId(Long id);

    /**
     * 删除所有的护理项目
     * @param id
     */
    void deleteAllProjectPlanByPlanId(Long id);
}
